<template>
  <div class="infinite-container bgwhite">
    <div class="center">
      <img src="../assets/qrcode2.png" width="200" v-if="!isDoctor"/>
      <img src="../assets/qr_code_doctor.png" width="200" v-else />
    </div>
    <div class="center mt20">
      长按此二维码，选择<b class="t6">识别图中二维码</b><br/>下载江苏省中医院APP
    </div>
  </div>
</template>

<script>
export default {
  data () {
    return {
      isDoctor: false
    }
  },
  mounted () {
    let role = this.$route.query.role
    if (role === 'doctor') {
      this.isDoctor = true
    }
    this.$store.commit('UPDATE_TITLE', '江苏省中医院APP下载')
  }
}
</script>

<style>

</style>
